//---------------------------------------------------------------------------------------------------
inline int LightingEffect::GetLightQuantity () const
{
    return (int)m_kLights.size();
}
//---------------------------------------------------------------------------------------------------
inline Light* LightingEffect::GetLight (int i) const
{
    assert(0 <= i && i < (int)m_kLights.size());
    return m_kLights[i];
}
//---------------------------------------------------------------------------------------------------
inline void LightingEffect::DetachAllLights ()
{
    m_kLights.clear();
}
//---------------------------------------------------------------------------------------------------
